//
//  UIView+DDExtetion.h
//  ddhw_ios
//
//  Created by sv on 16/12/15.
//  Copyright © 2016年 DDTM. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface UIView (DDExtetion)

- (void)viewWithcornerRadius:(CGFloat)cornerRadius borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;

- (void)viewWithcornerRadius:(CGFloat)cornerRadius borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor backgroundColor:(UIColor *)backgroundColor;

#pragma mark === 永久闪烁的动画 ======
- (void)addOpacityForever_Animation:(CGFloat)time;

#pragma mark ====旋转动画======
- (void)addRotation:(float)dur degree:(float)degree direction:(int)direction repeatCount:(int)repeatCount;
@end
